package com.bro.person.admin.service;

import com.bro.person.admin.model.AdminUser;
import com.bro.person.base.service.IBroBaseService;
import com.bro.person.admin.model.AdminResource;
import com.bro.person.admin.model.AdminResourceCriteria;

import java.util.List;

/**
 * AdminResource的 DB操作service
 *
 * @author jdd
 * @version 1.0
 */
public interface IAdminResourceService extends IBroBaseService<AdminResource, AdminResourceCriteria, Integer> {

    /**
     * 通过userId 查询用户信息
     * @param adminUser
     * @return
     */
    List<AdminResource> queryResourcesByUserId(AdminUser adminUser);
}
